package com.jingdianjichi.subject.application.convert;

import com.jingdianjichi.subject.application.dto.SubjectLabelDTO;
import com.jingdianjichi.subject.domain.entity.SubjectCategoryBO;
import com.jingdianjichi.subject.domain.entity.SubjectLabelBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author bug制作者
 * @version 1.0
 * @description: TODO
 * @date 2025/7/5 16:10
 */
@Mapper
public interface SubjectLabelConverter {
    SubjectLabelConverter INSTANCE = Mappers.getMapper(SubjectLabelConverter.class);
    SubjectLabelBO convertDTOToBO(SubjectLabelDTO subjectLabelDTO);
    List<SubjectLabelDTO> convertBOToDTO(List<SubjectLabelBO> subjectCateLabelBOs);
}
